package com.hsgene.consumables.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.util.Date;

/**
 * 耗材列表查询条件
 *
 * @author wxf
 * @date 2018/8/23 10:48
 **/
public class ConsumablesQueryCondition extends ConsumablesListInfoDto implements Serializable {

    /**
     * 结束时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date endDate;

    /**
     * 页数
     */
    private int page;

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }
}
